<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" href="../font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../css/indexStyle.css">
    <script src="../js/index.js"></script>
    <meta charset="UTF-8">
    <title>购物车</title>
</head>
<body>
<!--    导航栏-->
<div th:replace="~{header :: header}"></div>
<center>
    <div style="border: 1px solid #1f2024"><h1>订单金额</h1><h1 th:text="${totalPrice}"></h1></div>
    <a th:href="@{/pay/payNow(ordersId=${ordersId})}"><div style="border: 1px solid #1f2024"><h1>现在支付</h1></div></a>
    <a th:href="@{/pay/payAfter}"><div style="border: 1px solid #1f2024"><h1>稍后支付</h1></div></a>
</center>
</body>
</html>
